package com.village.friend.dto.request;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(description = "首页列表请求")
public class ListDto extends BasePageDto {

    @ApiModelProperty(value = "请求方式：1：在线 2：附近 3：新注册", required = true)
    Integer mode;
    @ApiModelProperty(value = "开始年龄")
    Integer ageStart;
    @ApiModelProperty(value = "结束年龄")
    Integer ageEnd;
    @ApiModelProperty(value = "开始身高")
    Integer heightStart;
    @ApiModelProperty(value = "结束身高")
    Integer heightEnd;
    @ApiModelProperty(value = "年收入")
    String salaryYear;
    @ApiModelProperty(value = "城市(筛选条件的sql)")
    String city;
    @ApiModelProperty(value = "同城排序规则：1：在线优先 2：附近优先", required = true)
    Integer sortMode;
}
